﻿namespace MvcFckEditor.Components
{
    using System;
    using System.Collections;
    using System.Reflection;

    internal class TypeConfigList
    {
        private Hashtable _Types = new Hashtable(4);

        public TypeConfig this[string typeName]
        {
            get
            {
                if (!this._Types.Contains(typeName))
                {
                    this._Types[typeName] = new TypeConfig();
                }
                return (TypeConfig) this._Types[typeName];
            }
        }
    }
}

